(use-package yasnippet
  :diminish (yas-minor-mode)
  :hook
  ;; (after-init . qrthi/yasnippet-remove-no-littering-dir)
  (after-init . yas-global-mode)
  :bind
  (:prefix-map qrthi/yas-prefix
	       :prefix "C-c y"
	       ;; ("e" . yas-expand)
	       ("i" . ivy-yasnippet))
  ;; :init
  ;; (defun qrthi/yasnippet-remove-no-littering-dir ()
  ;;   (setq yas-snippet-dirs (cdr yas-snippet-dirs)))
  ;; (add-to-list 'yas-snippet-dirs (expand-file-name "projects/elisp/yasnippets-orgmode" qrthi/directory-documents))
  )
